package com.company.project.service.ldjsc.home.impl;

import com.company.project.entity.ldjsc.home.CockpitContentEntity;
import com.company.project.mapper.ldjsc.home.CockpitContentMapper;
import com.company.project.service.ldjsc.home.CockpitContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;


@Service("cockpitContentService")
public class CockpitContentServiceImpl extends ServiceImpl<CockpitContentMapper, CockpitContentEntity> implements CockpitContentService {

    @Autowired
    private CockpitContentMapper cockpitContentMapper;


    @Override
    public CockpitContentEntity selectByPrefixTitle() {
        return cockpitContentMapper.selectByPrefixTitle();
    }

    @Override
    public CockpitContentEntity selectByIndexName() {
        return cockpitContentMapper.selectByIndexName();
    }

    @Override
    public List<CockpitContentEntity> selectByTitle() {
        return cockpitContentMapper.selectByTitle();
    }
}
